define(function(){
	return function setCookie(keys,value,days){
		var times = new Date();
		times.setDate(times.getDate() + days); //设置时限
		document.cookie = keys + "=" + value +"; expires=" + times + "; path=/";
	}
})